package com.pet.cart.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="购物车视图对象")
public class CartVO {
    @ApiModelProperty("购物车条目id")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer itemId;

    @ApiModelProperty("商品数量")
    private Integer number;

    @ApiModelProperty("加入购物车时的价格")
    private Integer price;

    @ApiModelProperty("商品标题")
    private String name;

    @ApiModelProperty("商品图片")
    private String image;

    @ApiModelProperty("商品最新价格")
    private Integer newPrice;
}
